package com.xiaoy.core.base.site.service;

import java.util.Properties;


public class SiteService {

	public String right() {
		Properties props = System.getProperties();
		Runtime runtime = Runtime.getRuntime();
		long freeMemoery = runtime.freeMemory();
		long totalMemory = runtime.totalMemory();
		long usedMemory = totalMemory - freeMemoery;
		long maxMemory = runtime.maxMemory();
		long useableMemory = maxMemory - totalMemory + freeMemoery;
		
		System.out.println(freeMemoery);
		System.out.println(totalMemory);
		System.out.println(usedMemory);
		System.out.println(maxMemory);
		System.out.println(useableMemory);
		
		
		return "right";
	}
	
	public static void main(String[] args) {
		//new SiteService().right();
		System.out.println(11);
	}
}
